package com.woniuxy.caradmin.service;


import com.woniuxy.caradmin.entity.pojo.Permission;


import java.util.List;

public interface PermissionService  {
    public List<Permission> selectPermissionsByUid(Integer uid);


    //查询所有权限
    public List<Permission> selectAllPermission();
    //通过rid查询权限
    public Integer[] selectPermissionsByRid( Integer rid);
    //修改角色权限
    public boolean assignRight(Integer rid,Integer[] perIds);
}
